<?php
    global $CONFIG;
    $url = $CONFIG->wwwroot . 'pg/siteaccess/';
    $invited_by_user = $vars['invited_by_user'];
?>
<div class="siteaccess_view">
    <h3><?php echo elgg_echo('siteaccess:list:header'); ?></h3>
    <a href="<?php echo $url; ?>"><?php echo elgg_echo('siteaccess:list:validate'); ?></a> | <a href="?v=banned"><?php echo elgg_echo('siteaccess:list:banned'); ?></a><br />
    <?php if ($invited_by_user) echo elgg_echo('siteaccess:invitedbyuser') . " <b><a href=\"" . $invited_by_user->getUrl() . "\" rel=\"$rel\">" . $invited_by_user->name . "</a></b>"; ?> 
</div>
